<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <script>
    let dyq ={
      'name':'dale',
      age:18
    }
    console.log(dyq['name']);
    //第二种写法 属性名必须带上单引号
    console.log(dyq['age']);
  </script>
</body>
</html>